﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Core.Support;
using Office = Microsoft.Office.DocumentManagement.DocumentSets;
using Microsoft.SharePoint;

namespace MS.InformationManagement.BLL.CaptureModule
{
    public class DeleteCaptureItemCommand : IBaseCommand
    {

        #region fields

        SPListItem _captureListItem; 

        #endregion

        #region Constructors

        public DeleteCaptureItemCommand(SPListItem captureListItem)
        {
            _captureListItem = captureListItem;
        }

        #endregion

        #region Implemented Methods

        public void Execute()
        {
            _captureListItem.Delete();
        }

        public void Undo()
        {

        }

        #endregion

    }
}
